package com.lwlk.zdk.model.pw;

import com.lwlk.zdk.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;


public class pwAlarmRules {

    private Integer id;

    @ApiModelProperty(value="违规类型(1超速报警2)")
    @NotNull(message = "违规类型不可为空")
    private Integer ruleType;

    @ApiModelProperty(value="行业id")
    @NotNull(message = "行业类型不可为空")
    private Integer industryId;

    @ApiModelProperty(value="速度大于，单位：km/h,整型")
    private Integer speedLimit;

    @ApiModelProperty(value="报警持续时长，单位：分钟，整型")
    private Integer cotinueTime;

    @ApiModelProperty(value = "报警次数大于，整型")
    private Integer count;

    @ApiModelProperty(value = "报警开始判断条件")
    @NotNull(message = "报警开始时间不可为空")
    private String startTime;

    @ApiModelProperty(value = "报警开始判断条件结束条件")
    @NotNull(message = "报警结束时间不可为空")
    private String endTime;

    @ApiModelProperty(value = "是否下发预警(1是0否)")
    private Integer downAlarmInfo;

    @ApiModelProperty(value = "预警内容选项(1经度2纬度3速度4方向5备注(可多选))")
    private String alarmContentChoice;

    @ApiModelProperty(value = "预警内容备注")
    private String alarmContentRemark;

    @ApiModelProperty(value = "预警内容预览")
    private String alarmContentPreview;

    @ApiModelProperty(value = "停止报警后持续时长，单位：分钟，整型")
    private Integer stopContinueTime;

    @ApiModelProperty(value = "每天每辆车只记一次(1是0否)")
    private Integer oncePerVechilePerday;

    @ApiModelProperty(value = "是否有声音提醒(1是0否)")
    private Integer voiceAlert;

    @ApiModelProperty(value = "是否闪烁提醒(1是0否)")
    private Integer flashAlert;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    public Integer getIndustryId() {
        return industryId;
    }

    public void setIndustryId(Integer industryId) {
        this.industryId = industryId;
    }

    public Integer getSpeedLimit() {
        return speedLimit;
    }

    public void setSpeedLimit(Integer speedLimit) {
        this.speedLimit = speedLimit;
    }

    public Integer getCotinueTime() {
        return cotinueTime;
    }

    public void setCotinueTime(Integer cotinueTime) {
        this.cotinueTime = cotinueTime;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getDownAlarmInfo() {
        return downAlarmInfo;
    }

    public void setDownAlarmInfo(Integer downAlarmInfo) {
        this.downAlarmInfo = downAlarmInfo;
    }

    public String getAlarmContentChoice() {
        return alarmContentChoice;
    }

    public void setAlarmContentChoice(String alarmContentChoice) {
        this.alarmContentChoice = alarmContentChoice == null ? null : alarmContentChoice.trim();
    }

    public String getAlarmContentRemark() {
        return alarmContentRemark;
    }

    public void setAlarmContentRemark(String alarmContentRemark) {
        this.alarmContentRemark = alarmContentRemark == null ? null : alarmContentRemark.trim();
    }

    public String getAlarmContentPreview() {
        return alarmContentPreview;
    }

    public void setAlarmContentPreview(String alarmContentPreview) {
        this.alarmContentPreview = alarmContentPreview == null ? null : alarmContentPreview.trim();
    }

    public Integer getStopContinueTime() {
        return stopContinueTime;
    }

    public void setStopContinueTime(Integer stopContinueTime) {
        this.stopContinueTime = stopContinueTime;
    }

    public Integer getOncePerVechilePerday() {
        return oncePerVechilePerday;
    }

    public void setOncePerVechilePerday(Integer oncePerVechilePerday) {
        this.oncePerVechilePerday = oncePerVechilePerday;
    }

    public Integer getVoiceAlert() {
        return voiceAlert;
    }

    public void setVoiceAlert(Integer voiceAlert) {
        this.voiceAlert = voiceAlert;
    }

    public Integer getFlashAlert() {
        return flashAlert;
    }

    public void setFlashAlert(Integer flashAlert) {
        this.flashAlert = flashAlert;
    }
}